<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <title>400 Bad Request</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <style>
    :root{--bg:#0f172a;--card:#1e293b;--accent:#38bdf8;--text:#e2e8f0;--sub:#94a3b8}
    *{box-sizing:border-box;margin:0;padding:0}
    body{
      height:100vh;
      background:var(--bg);
      color:var(--text);
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
      display:flex;align-items:center;justify-content:center;
    }
    .card{
      background:var(--card);
      border-radius:16px;
      padding:48px 56px;
      max-width:520px;
      text-align:center;
      box-shadow:0 20px 40px -10px rgba(0,0,0,.6);
      animation:fade .6s ease-out;
    }
    @keyframes fade{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
    .card h1{font-size:4rem;color:var(--accent);margin-bottom:12px}
    .card p{font-size:1.125rem;line-height:1.6;margin:8px 0}
    .card .desc{color:var(--sub);font-size:.95rem;margin-top:16px}
    .btn{
      display:inline-block;
      margin-top:24px;
      padding:10px 24px;
      background:var(--accent);
      color:#0f172a;
      border-radius:8px;
      text-decoration:none;
      font-weight:600;
      transition:background .2s;
    }
    .btn:hover{background:#7dd3fc}
    code{background:rgba(255,255,255,.08);padding:2px 6px;border-radius:4px;font-size:.95em}
  </style>
</head>
<body>
  <div class="card">
    <h1>405</h1>
    <p><strong>Bad Request</strong></p>
    <p>服务器无法理解您的请求，请检查语法或参数是否正确。</p>
    <p class="desc">Request ID: <code id="rid"></code></p>
    <a href="javascript:location.reload()" class="btn">重新加载</a>
  </div>
  <script>
    // 简单请求 ID（时间戳+随机）
    document.getElementById('rid').textContent = Date.now().toString(36) + Math.random().toString(36).slice(2,6);
  </script>
</body>
</html>